﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace RecruitmentPage.Models.RPModel
{
    public class ApplyJob
    {


        [Key, Column(Order = 0)]
        public Guid PersonalId { get; set; }
        [ForeignKey("PersonalId")]
        public PersonalInfor PersonalInfor { get; set; }

        [Key, Column(Order = 1)]
        public int JobId { get; set; }
        [ForeignKey("JobId")]
        public Job Job { get; set; }

        public DateTime ApplyDate { get; set; }
    }
}